package persistence;

import domain.Cart;
import domain.CartItem;

import java.util.List;

public interface CartDAO {
    List<CartItem> getCartItemIdByUserName(String UserName);

    int getQuantityByItemIdAndUserName(String UserName,String ItemId);

    void insertToCart(String UserName,String ItemId);

    void removeItemByUserName(String UserName,String ItemId);

    void updateQuantityByUserName(String UserName,String ItemId,int Quantity);
}
